/* 
 * File:   write_to_eof_using_stl.cpp
 * Author: tandaica0612
 *
 * Created on January 5, 2009, 11:07 AM
 */

#include <stdlib.h>
#include <iostream>
#include <fstream>
using namespace std;
/*
 * 
 */
/*
int main(int argc, char** argv) {
    ofstream myfile("data/textfile.txt");
    if(!myfile){
        cout << "File ko ton` tai." << endl;
    }
    char *texttofile = "This is a string\n";
    while(*texttofile){
        myfile.put(*texttofile++);//ghi dan` tung` ky' tu. cua? texttofile vo cuoi' file
    }
    return (EXIT_SUCCESS);
}
**/
